﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using Microsoft.WindowsAzure.StorageClient;

namespace FeedReader.Shared.Data
{
    public class UserSubscrptionsDataModel :TableServiceEntity
    {
        public UserSubscrptionsDataModel(string partitionKey, string rowKey)
            : base(partitionKey, rowKey)
        {
        }

        public UserSubscrptionsDataModel(): this(Guid.NewGuid().ToString(), String.Empty)
        {
        }
        /// <summary>
        ///  The user ID of the subscriber
        /// </summary>
        public string UserID { get; set; }
        /// <summary>
        ///  The ID of the blog the subscriber is subscribing to.
        /// </summary>
        public string BlogID { get; set; }
        /// <summary>
        ///  Timestamp
        /// </summary>
        public DateTime DateTime{get;set;}
    }
}
